<template>
	<view :class="{'box-shadow p20 bg-fff radius20':border}">
		<view class="flex ">
			<u-avatar :src="item.avatar||''" size="160" :showSex="!!item.sex"
				:sex-icon="item.sex == 2 ? 'man' : item.sex == 1 ? 'woman' : 'account'" />
			<view class="flex1 flex-col row-between als-s pl24 ov-h">
				<view class="flex ov-h">
					<view class="fs30 fw-700 u-line-1">{{item.name}}</view>
					<view class="ml10" v-if="item.is_name_auth==1">
						<image src="/static/img/index/ysm.png" class="w116 h36 db " mode=""></image>
					</view>
				</view>
				<view class="flex fs24 mt16 ov-h color-999 ">
					<view class="flex1">工龄：{{item.work_year||'0'}}年</view>
					<view class="flex1">陪诊：{{item.service_num||'0'}}次</view>
					<view class="flex1">好评：{{item.good_comment||'0'}}次</view>
				</view>
				<view class="flex fs24 mt16 ov-h">
					<block v-if="item.status_text">
						<view class="">当前状态：</view>
						<view class="color-666  flex1">{{item.status_text}}</view>
					</block>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "master",
		props: {
			item: {
				default: ''
			},
			border: {
				type: Boolean,
				default: true
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">

</style>